import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SWrestleMyInfoEx
    
    export  class SWrestleMyInfoEx extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SWrestleMyInfoEx();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.lastDailyMark);
            arg1.writeInt(this.lastDailyReward);
            arg1.writeInt(this.lastWeekRank);
            arg1.writeInt(this.lastWeekReward);
            arg1.writeInt(this.lastMonthRankCross);
            arg1.writeInt(this.lastMonthReward);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.lastDailyMark = arg1.readInt();
            this.lastDailyReward = arg1.readInt();
            this.lastWeekRank = arg1.readInt();
            this.lastWeekReward = arg1.readInt();
            this.lastMonthRankCross = arg1.readInt();
            this.lastMonthReward = arg1.readInt();
            return;
        }

        public /* const */_type: int=604;

        public /* var */lastDailyMark: int;

        public /* var */lastDailyReward: int;

        public /* var */lastWeekRank: int;

        public /* var */lastWeekReward: int;

        public /* var */lastMonthRankCross: int;

        public /* var */lastMonthReward: int;

        public static /* var */_regist: SWrestleMyInfoEx;
    }

            SWrestleMyInfoEx._regist = new SWrestleMyInfoEx(true);
        